package conchmusic.conchmusicclient.util;

import android.content.res.Resources;

/**
 * Created by Pan Ke on 2017/4/21.
 */

public class RegisterCommand implements Command {

    private String registerJson;
    private Resources resources;

    public RegisterCommand(Resources resources,String registerJson){
        this.registerJson = registerJson;
        this.resources = resources;
    }

    @Override
    public String execute() {
        return new Executor().registerTransfer(resources,registerJson);
    }
}
